package com.woniu.springbootmybatis.pojo;


import lombok.AllArgsConstructor;

import java.io.Serializable;
import java.util.Date;
public class Customer implements Serializable {
    private Integer id;
    private String name;
    private String linkman;
    private String phone;
    private Date createdate;

    public Customer() {
    }

    public Customer(String name, String linkman, String phone, Date createdate) {
        this.name = name;
        this.linkman = linkman;
        this.phone = phone;
        this.createdate = createdate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }
}
